package com.example.dao;

import com.example.mybatis.dao.BaseDao;
import com.example.entity.ImagesEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 图片列表
*
* @author yyyyjinying 1020066395@qq.com
* @since 1.0-SNAPSHOT 2025-04-29
*/
@Mapper
public interface ImagesDao extends BaseDao<ImagesEntity> {
    void deleteAllByImageIds(@Param("belongIds") List<Long> belongIds, @Param("imageIds") List<Long> imageIds);

    void changeIsRecommend(@Param("isRecommend") Integer isRecommend, @Param("imageId") Long imageId);
}